<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>个人用户</title>
    <link href="http://libs.baidu.com/bootstrap/3.0.3/css/bootstrap.min.css" rel="stylesheet">
    <link rel="stylesheet" type="text/css" href="<?php echo (CSS_URL); ?>user.css">
</head>
<body leftmargin="0" topmargin="0" rightmargin = "0">
<!--头部-->
    <div class = "head">
        <div class = "head_top">
            <div class = "container">
                <div class = "head_info info_focus">
                    <a href="/honeystore/index.php/Home/Index/index" target="_blank">返回HoneyStore</a>
                </div>
                <div class = "head_info">
                    <a href="#">手机登录</a>
                </div>
                <ul>
                    <li><a href="/honeystore/index.php/Home/User/logout">[退出]</a></li>
                    <li><a href="/honeystore/index.php/Home/User/personInfo?u_id=<?php echo (session('u_id')); ?>&type=show">账号设置</a></li>
                    <li>您好，<?php echo (session('u_name')); ?></li>
                </ul>
            </div>
        </div>
        <!--<span id ="u_id" class = "hidden"><?php echo (session('u_name')); ?></span>-->
        <div class = "container">
            <div class = "show_logo">
                <a href="/honeystore/index.php/Home/Index/index" target="_parent"><img src="<?php echo (IMG_URL); ?>logo.png"/></a>
            </div>
            <div class = "show_cart_info">
                <div class = "show_cart_icon" style="background-color: #79D179">
                    <span class="glyphicon glyphicon-shopping-cart" style="color:white"></span>
                </div>
                <a href="/honeystore/index.php/Home/Goods/checkOut?u_id=<?php echo (session('u_id')); ?>"><span class="info">购物车(<span><?php echo (session('amount')); ?></span>)</span></a>
            </div>

        </div>
    </div>
    <div class = "head_bar">
        <div class = "container">
            <ul>
                <li><a href="/honeystore/index.php/Home/User/user.html">我的HoneyStore</a></li>
            </ul>
        </div>
    </div>
    <div class = "container">
        <div class = "left_bar">
            <div class = "item">
                <img src="<?php echo (IMG_URL); ?>icon5.png"/>
                <span class = "img_info"><a href = "/honeystore/index.php/Home/User/personInfo?u_id=<?php echo (session('u_id')); ?>&type=show" target="userRight">个人信息</a></span>
            </div>
            <div class = "item">
                <img src="<?php echo (IMG_URL); ?>icon3.png"/>
                <span class = "img_info"><a href = "/honeystore/index.php/Home/Goods/favor?type=show&u_id=<?php echo (session('u_id')); ?>" target="userRight">我的收藏</a></span>
            </div>
            <div class = "item">
                <img src="<?php echo (IMG_URL); ?>icon2.png"/>
                <span class = "img_info"><a href = "/honeystore/index.php/Home/Goods/checkOut?u_id=<?php echo (session('u_id')); ?>" target="_blank">我的购物车</a></span>
            </div>
            <div class = "item">
                <img src="<?php echo (IMG_URL); ?>icon4.png"/>
                <span class = "img_info"><a href = "/honeystore/index.php/Home/Goods/myOrder?u_id=<?php echo (session('u_id')); ?>" target="userRight">我的交易</a></span>
                <ul class = "order_list">
                    <li><a href="/honeystore/index.php/Home/Goods/myOrder?u_id=<?php echo (session('u_id')); ?>&state=待发货" target="userRight">待发货</a></li>
                    <li><a href="/honeystore/index.php/Home/Goods/myOrder?u_id=<?php echo (session('u_id')); ?>&state=待收货" target="userRight">待收货</a></li>
                    <li><a href="/honeystore/index.php/Home/Goods/myOrder?u_id=<?php echo (session('u_id')); ?>&state=已完成" target="userRight">已完成</a></li>
                    <li><a href="/honeystore/index.php/Home/Goods/myOrder?u_id=<?php echo (session('u_id')); ?>&state=退款" target="userRight">退款</a></li>
                </ul>
            </div>
        </div>
        <div class = "right_bar">
            <iframe name = "userRight" class = "user_right" src = "/honeystore/index.php/Home/User/personInfo?u_id=<?php echo (session('u_id')); ?>&type=show" scrolling="no"></iframe>
        </div>
    </div>


</body>
</html>